class PageInfoModel {
  int pageNum;
  int navigatePages;
  int total;
  int pages;
  int size;

  PageInfoModel(
      {this.pageNum, this.navigatePages, this.total, this.pages, this.size});

  PageInfoModel.fromJson(Map<String, dynamic> json) {
    pageNum = json['pageNum'];
    navigatePages = json['navigatePages'];
    total = json['total'];
    pages = json['pages'];
    size = json['size'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['pageNum'] = this.pageNum;
    data['navigatePages'] = this.navigatePages;
    data['total'] = this.total;
    data['pages'] = this.pages;
    data['size'] = this.size;
    return data;
  }
}